#ifndef _LIFEHISTORYPANEL_H
#define _LIFEHISTORYPANEL_H

#ifndef LH_PANEL_LABEL
  #define LH_PANEL_LABEL "Life History"
#endif

#ifndef MATURITY_AT_AGE_STRING
  #define MATURITY_AT_AGE_STRING "Maturity at-age"
#endif

#ifndef DEFAULT_AT_AGE_PERC_LOW
  #define DEFAULT_AT_AGE_PERC_LOW 50
#endif

#ifndef DEFAULT_AT_AGE_PERC_HIGH
  #define DEFAULT_AT_AGE_PERC_HIGH 95
#endif

#ifndef DEFAULT_AT_AGE_LOW
  #define DEFAULT_AT_AGE_LOW 6
#endif

#ifndef DEFAULT_AT_AGE_HIGH
  #define DEFAULT_AT_AGE_HIGH 9
#endif

#ifndef SELECTIVITY_AT_AGE_STRING
  #define SELECTIVITY_AT_AGE_STRING "Selectivity at-age"
#endif

#ifndef LH_LABEL3
  #define LH_LABEL3 "Natural mortality rate (m)"
#endif


#ifndef LH_LABEL4
  #define LH_LABEL4 "Allometric Alpha"
#endif

#ifndef LH_LABEL5
  #define LH_LABEL5 "Allometric Beta"
#endif

#ifndef LH_LABEL6
  #define LH_LABEL6 "Asymptotic length (cm)"
#endif

#ifndef LH_LABEL7
  #define LH_LABEL7 "Length at age 1"
#endif

#ifndef LH_LABEL8
  #define LH_LABEL8 "von Bertalannfy k"
#endif

#ifndef LH_LABEL9
  #define LH_LABEL9 "Standard error length-at-age"
#endif

#include "wx/wxprec.h"
#ifndef WX_PRECOMP
  #include "wx/wx.h"
#endif

#include "PreprocessorDefines.h"

class AtAgePanel;
class EntryPanel;

class LifeHistoryPanel : public wxPanel
{
  public:
    LifeHistoryPanel(wxWindow* parent);
    ~LifeHistoryPanel();
    DECLARE_EVENT_TABLE()

  private:
    wxBoxSizer       *m_pVertBoxSizer;

    AtAgePanel       *m_pMaturityAtAgePanel;
    AtAgePanel       *m_pSelectivityAtAgePanel;

    EntryPanel       *m_pNaturalMortalityPanel;
    EntryPanel       *m_pAlloAlphaPanel;
    EntryPanel       *m_pAlloBetaPanel;
    EntryPanel       *m_pAsympLengthPanel;
    EntryPanel       *m_pLengthStartAgePanel;
    EntryPanel       *m_pVonBkPanel;
    EntryPanel       *m_pStandardErrorLAPanel;

    wxStaticBoxSizer *m_pStaticBoxSizer;
    wxStaticBox      *m_pStaticBox;
    wxStaticText     *m_pPanelLabel;
};

#endif // _LIFEHISTORYPANEL_H
